<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        <div class="operate-bar">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>
                {:lang('common.btn_confirm')}
            </button>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label required">{:lang('user.username')}</label>
            <div class="layui-input-block">
                <input type="text" name="username" class="layui-input" readonly value="{$row.username|default=''}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">{:lang('user.password')}</label>
            <div class="layui-input-block">
                <input type="password" name="password" class="layui-input" lay-verify="required"
                       placeholder="{:lang('common.input')}{:lang('user.password')}" value="">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">{:lang('user.password_again')}</label>
            <div class="layui-input-block">
                <input type="password" name="password_again" class="layui-input" lay-verify="required"
                       placeholder="{:lang('common.input')}{:lang('user.password_again')}" value="">
            </div>
        </div>
    </form>
</div>
<script>
    layui.use(['myCommon'], function () {
        let myCommon = layui.myCommon;
        myCommon.listen();
    });
</script>